package main

import "fmt"

func main() {
	var str string
	str = "hello"
	switch str {
	case "hello":
		fmt.Println(1)
	case "world":
		fmt.Println(2)
	default:
		fmt.Println(0)
	}
	var a = "mum"
	switch a {
	case "mua", "daddy":
		fmt.Println("family")
	default:
		fmt.Println(0)
	}
	var s string = "hello"
	switch s {
	case "hello":
		fmt.Println(s)
		fallthrough
	case "world":
		fmt.Println("world")
	}
}
